package com.ruoyi.testfunction.enums;

/**
 * 功能类型枚举
 *
 * @author LF
 * @date 2024-03-04
 */

public enum FunctionTypeEnum {

    JOKE("JOKE", "笑话"),
    EAT_WHAT("EAT_WHAT", "吃什么"),
    WEATHER("WEATHER", "天气");

    private final String code;
    private final String info;

    FunctionTypeEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
